package Cloneabe;

import java.util.Scanner;
public class TestPerson {
    public static void main1(String[] args) throws CloneNotSupportedException {
        Scanner input = new Scanner(System.in);
        String name = input.nextLine();
        int age = input.nextInt();
        Person p1 = new Person(name,age);
        Person p2 = (Person)p1.clone();
        System.out.println(p1);
        System.out.println(p2);
        System.out.println(p1 == p2);
        System.out.println(p1.equals(p2));
    }

}